package com.mccken.rapid.common.current.queue.flusher;

/**
 * @program: rapid_gateway
 * @description:
 * @author: mccken
 * @create: 2022-01-16 17:06
 **/
public interface Flusher<E>{
	
	void add(E event);
	
	void add(E... event);
	
	boolean tryAdd(E event); 
	
	boolean tryAdd(E... event);
	
	boolean isShutdown();
	
	void start();
	
	void shutdown();
}
